﻿using System.Collections.Generic;
using Newtonsoft.Json;

namespace WeShare.WeiXin.Mp.Oauth.Entity
{
    public class UserOpenIdRes:BaseRes
    {
        /// <summary>
        /// 关注该公众账号的总用户数
        /// </summary>
        [JsonProperty("total")]
        public int Total { get; set; }
        /// <summary>
        /// 拉取的openID个数，最大值为10000
        /// </summary>
        [JsonProperty("count")]
        public int Count { get; set; }
        /// <summary>
        /// 列表数据，openID的列表
        /// </summary>
        [JsonProperty("data")]
        public OpenidList Data { get; set; }
        /// <summary>
        /// 拉取列表的后一个用户的openID
        /// </summary>
       [JsonProperty("next_openid")]
        public string NextOpenid { get; set; }
        
    }
    public class OpenidList
    {
        public List<string> openid { get; set; }
    }
}